<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!-- right start -->
		<div class="col-lg-4 col-md-4 col-sm-12 com_right_div">
			<!-- 搜索博客 -->
			<div class="common_right_search">
              <form action="" role="form" method="post">
              	<div class="form-group">
	              	<h3 style="font-size:24px;">Search</h3>
	              	<input type="text" name="title" class=" common_right_search_input" id="common_right_search_input" placeholder="请输入名称" style="height:30px;" value="${title }" />
	              	<button type="submit" class="btn common_right_search_btn" id="common_right_search_btn" value="Search" >Search</button>
              	</div>
              </form> 
			</div>
			<hr class="common_right_hr"> 
			<!-- 最新博客 -->
			<div class="common_right_lastblogs">
				<h3 style="font-size:24px;">最新博客</h3>
				<div>
					<ul id="common_right_lastblogs_ul">
						<%-- <li><a href="#">常见的java代码优化方法<small> -- lizi</small></a></li>
						<li><a href="#">常见的SQL优化方法<small> -- 双双</small></a></li>
						<li><a href="#">Shell 编程基础<small> -- lizi</small></a></li> --%>
					</ul>
				</div>
			</div>
			<hr class="common_right_hr">
			<!-- 最新分享 -->
			<!-- <div class="common_right_lastblogs">
			</div> -->
			<!-- 开心一刻 -->
			<div class="common_right_jokes">
				<h3 style="font-size:24px;">开心一刻</h3>
				<div>
					<h5 id="joke_title" class="toCenter"></h5>
					<p id="joke_text"></p>
				</div>
			</div>
			<!-- 最新评论-->
			<hr class="common_right_hr">
			<div class="common_right_jokes">
				<h3 style="font-size:24px;">最新评论</h3>
				<!-- 获取多说最新评论 start -->
				<div class="ds-recent-comments" data-num-items="5" data-show-avatars="1" data-show-time="1" data-show-title="1" data-show-admin="1" data-excerpt-length="70"></div>
				<!-- 获取多说最新评论 end -->
			</div>
			
		</div>
		<!-- right end -->
		<script type="text/javascript">
			var path='<%=path%>';
			
			initLastBlogUL(path); /* 初始化右部最新博客 */
			  
			initJokes();/* 初始化右部开心一刻 */
			
			
		</script>
		